	<?php $this->jQuery()->onLoadCaptureStart(); ?>
				jQuery('#inventoryItem').change(function() 
				{ 
					$.post('getiteminfo/inventoryItem/'+$('#inventoryItem').val(),{}, 
					function(data) {
	
							$('#inventoryItemDesc').val(data['inventoryItemDesc'])
							$('#eanCode').val(data['eanCode'])
							$('#platform').val(data['platform'])
							$('#divisionDesc').val(data['divisionDesc'])
							$('#categoryType').val(data['categoryType'])
							$('#releaseDate').val(data['releaseDate'])
							$('#countryOfOrigin').val(data['countryOfOrigin'])
							$('#Unitcarton').val(data['masterPackQty'])
							$('#lastOrderDate').val(data['lastOrderDate'])
						
					}, 'json');
				});
				
				jQuery('#eanCode').change(function() 
				{ 
					$.post('getiteminfo/eanCode/'+$('#eanCode').val(),{}, 
					function(data) {
	
							$('#inventoryItemDesc').val(data['inventoryItemDesc'])
							$('#inventoryItem').val(data['inventoryItem'])
							$('#platform').val(data['platform'])
							$('#divisionDesc').val(data['divisionDesc'])
							$('#categoryType').val(data['categoryType'])
							$('#releaseDate').val(data['releaseDate'])
							$('#countryOfOrigin').val(data['countryOfOrigin'])
							$('#Unitcarton').val(data['masterPackQty'])
							$('#lastOrderDate').val(data['lastOrderDate'])
						
					}, 'json');
				});
									
				
				
	<?php $this->jQuery()->onLoadCaptureEnd(); ?>

<div id="content">
	<h1>
		<?php echo $this->pageTitle; ?>
	</h1>
	<?php echo $this->form; ?>
</div>

	<p><?php echo '<a href='.$this->url(array(
							'controller' => 'itemlisting',
							'action'     => 'index')).'>go back</a>'; ?>